import behaviors from "../../../../config/behaviors";

Component({
  behaviors: [behaviors],

  properties: {
    list: {
      type: Array,
      value: []
    }
  },
  data: {
  },
  methods: {
    handleClick(event) {
      const item = event.currentTarget.dataset.item
      if (item && item.url && item.url.length > 1) {
        wx.navigateTo({
          url: item.url
        })
      }
    }
  }
});
